<?php	
   include('../libary/init_admin.php');
   if (!check()) header('location:login.php');
   include('template/mainpage.tpl.php');
?>